package Exception;

public class ExceptionPenalty extends Exception{
	
	private double penalty;
	
	public ExceptionPenalty(String messsage,double penalty) {
		super(messsage);
		this.setPenalty(penalty);
	}

	public double getPenalty() {
		return penalty;
	}

	public void setPenalty(double penalty) {
		this.penalty = penalty;
	}
	

}
